package com.gitee.francis.lw.mapper.model.db;

import java.util.Date;

import javax.persistence.*;

import com.hzlemone.mapper.model.db.BaseEntity;

import lombok.Getter;
import lombok.Setter;

/**
 * 
 * @ClassName FormItem
 * @Description 表单项模型。与数据表t_hz_lemon_e_form_item对应
 * @author 刘吴楚浩
 * @date Mon Jul 02 15:29:15 CST 2018
 * 
 */
@Table(name = "t_hz_lemon_e_form_item")
@Getter
@Setter
public class FormItemDO extends BaseEntity {
    /**
     * 控件编码
     */
    @Column(name = "hz_lemon_e_control_code")
    private String hzLemonEControlCode;

    /**
     * 表单项属性.json配置
     */
    @Column(name = "hz_lemon_e_form_item_attr")
    private String hzLemonEFormItemAttr;

    /**
     * 表单项文本
     */
    @Column(name = "hz_lemon_e_form_item_name")
    private String hzLemonEFormItemName;

    /**
     * 表单项编码
     */
    @Column(name = "hz_lemon_e_form_item_code")
    private String hzLemonEFormItemCode;

    /**
     * 表单项验证规则。固定规则+正则表达式
     */
    @Column(name = "hz_lemon_e_form_item_verify_rule")
    private String hzLemonEFormItemVerifyRule;

    /**
     * 表单项说明
     */
    @Column(name = "hz_lemon_e_form_item_description")
    private String hzLemonEFormItemDescription;

    @Column(name = "created_time")
    private Date createdTime;
}